//
//  PMGearJoint.h
//  PezMonkey
//
//  Created by Spence DiNicolantonio on 12/24/09.
//  Copyright 2009 Necrosoft. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "PMConstraint.h" 


@interface PMGearJoint : PMConstraint {

}

// Property definitions of getters/setters for data members stored by backend 
// Chipmunk structure. These properties are not synthesized, because their 
// implementations are given explicitly.
@property (assign) PMFloat phase;
@property (assign) PMFloat ratio;


#pragma mark -
#pragma mark Init
- (id)initWithBodyA:(PMBody *)aBody bodyB:(PMBody *)otherBody phase:(PMFloat)phase ratio:(PMFloat)ratio;

#pragma mark Convenience
+ (PMGearJoint *)gearJointWithBodyA:(PMBody *)aBody bodyB:(PMBody *)otherBody phase:(PMFloat)phase ratio:(PMFloat)ratio;

@end
